home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / dman_300.zip / DMV2-V3.DOC < prev    next >
Text File  |  1992-11-15  |  3KB  |  63 lines

  1.  
  2.           -=*> DoorMan v2 to v3 Conversion Utility <*=-
  3.  
  4. This program will read your DoorMan v2 .CAT file and create v3
  5. .DAT files.  Before you run it, you *MUST* run DoorEdit and enter
  6. the defaults.  Once you have entered the defaults, and are at the
  7. Main Menu, Exit the program and run this utility.
  8.  
  9. The only question it'll ask is the location of DoorMan v2.01,
  10. everything else is automatic.  What's it going to do?  Well, it
  11. does this:
  12.  
  13.      1.  Reads you defaults from the DoorMan.Def file.
  14.      2.  It reads your DoorMan1.Cfg file.
  15.      2.  Reads your current DoorMan.Cat file and counts the
  16.          number of categories and doors.
  17.      3.  For each category, it takes the data from the .CAT
  18.          file, adds the defaults you've specified, and writes
  19.          the result to a file called DMCATS.DAT.
  20.      3.  For each door, it takes the data from the .CAT file,
  21.          adds the defaults you've specified, and writes the
  22.          result to a file called DMDOORS.DAT
  23.      4.  Also for each door, it takes your doorbats directory
  24.          (read from the config), adds the Bat file name for that
  25.          door, then tries to locate the file.  If it finds the 
  26.          file, it then reads the file, interpolates the doors
  27.          directory (from the first CD command), strips out any
  28.          Echo or Exit commands, looks for any node specific 
  29.          commands (1.CFG, %wcnodeid%, NODE1, and NODE2) replaces
  30.          them with @n, and writes all the info to a file called
  31.          DBatCmds.DAT.  This single file will replace ALL your
  32.          your door bat files!  When DoorMan goes to run a door,
  33.          it will create a bat file to change to the door's
  34.          directory, execute whatever commands it found in the
  35.          bat file, then change directory back.  If this works
  36.          properly (it does with all the doors on my system) it
  37.          will completely eliminate creating door batch files!
  38.          Be *SURE* to double check the Run Commands for each 
  39.          door just in case!
  40.  
  41. If the program completes successfully, you're in good shape.  If
  42. not, send me a copy of the file it died on, ie your DoorMan.CAT,
  43. and the .BAT file for the door it was converting.  That will
  44. allow me to find out why it died, and fix it!
  45.  
  46. When your adding/editing doors, and you need a "node specific"
  47. command. you can put @n in the run command.  Any time DoorMan
  48. comes across that in a run command, it will replace it with the
  49. current Node Number. ie if you've got xxxx1.CFG and xxxx2.CFG
  50. now, just put xxxx@n.CFG and it should work fine.
  51.  
  52. Now, unless an error occurred, you're all done with the
  53. conversion!  All that's left to do is to change the file that
  54. calls DoorMan so that it calls DoorMan v3.  You should be able to
  55. just change the directory name, kill the config file name (not
  56. needed), and add the node number.  In other words, DoorMan v3 is
  57. called as follows:
  58.  
  59.       DOORMAN <node number>
  60.  
  61. It will use the information in the .DEF file to decide what to do
  62. based on the Node Number.
  63.